﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace htmlRender
{
public class Div: System.Web.UI.Control
{
    protected override void Render(System.Web.UI.HtmlTextWriter writer)
    {
        writer.RenderBeginTag(System.Web.UI.HtmlTextWriterTag.Div);

        foreach (System.Web.UI.Control child in Controls)
        {
            child.RenderControl(writer);
        }

        writer.RenderEndTag();
    }
}
}
